<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.4.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/gh/fancyapps/fancybox@3/dist/jquery.fancybox.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"example.com","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","width":335,"display":"post","padding":18,"offset":12,"onmobile":true},"copycode":{"enable":true,"show_result":true,"style":null},"back2top":{"enable":true,"sidebar":true,"scrollpercent":true},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":true,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"};
  </script>

  <meta name="description" content="内容摘要：  本文主要介绍Hexo的安装及相关插件">
<meta property="og:type" content="article">
<meta property="og:title" content="Hexo安装">
<meta property="og:url" content="http://example.com/install/hexo/index.html">
<meta property="og:site_name" content="吴敌">
<meta property="og:description" content="内容摘要：  本文主要介绍Hexo的安装及相关插件">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://ask.qcloudimg.com/http-save/yehe-2626829/csdgfpwl2g.png">
<meta property="og:image" content="https://ask.qcloudimg.com/http-save/yehe-2626829/hchg6t5w3c.png?imageView2/2/w/1620">
<meta property="og:image" content="http://example.com/install/hexo/image-20220824180047380.png">
<meta property="og:image" content="http://example.com/install/hexo/image-20220824180117885.png">
<meta property="og:image" content="http://example.com/install/hexo/%E5%9B%BE%E7%89%87.png">
<meta property="article:published_time" content="2021-12-31T16:00:00.000Z">
<meta property="article:modified_time" content="2021-12-31T16:00:00.000Z">
<meta property="article:author" content="吴敌">
<meta property="article:tag" content="吴敌">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://ask.qcloudimg.com/http-save/yehe-2626829/csdgfpwl2g.png">

<link rel="canonical" href="http://example.com/install/hexo/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>Hexo安装 | 吴敌</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">吴敌</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">吴敌</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>首页</a>

  </li>
        <li class="menu-item menu-item-about">

    <a href="/about/" rel="section"><i class="fa fa-fw fa-user"></i>关于</a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/categories/" rel="section"><i class="fa fa-fw fa-th"></i>分类<span class="badge">10</span></a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>归档<span class="badge">28</span></a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="reading-progress-bar"></div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://example.com/install/hexo/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="吴敌">
      <meta itemprop="description" content="吴敌">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="吴敌">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          Hexo安装
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2022-01-01 00:00:00" itemprop="dateCreated datePublished" datetime="2022-01-01T00:00:00+08:00">2022-01-01</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/Soft/" itemprop="url" rel="index"><span itemprop="name">Soft</span></a>
                </span>
            </span>

          
            <span class="post-meta-item" title="阅读次数" id="busuanzi_container_page_pv" style="display: none;">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              <span class="post-meta-item-text">阅读次数：</span>
              <span id="busuanzi_value_page_pv"></span>
            </span><br>
            <span class="post-meta-item" title="本文字数">
              <span class="post-meta-item-icon">
                <i class="fa fa-file-word-o"></i>
              </span>
                <span class="post-meta-item-text">本文字数：</span>
              <span>2.5k</span>
            </span>
            <span class="post-meta-item" title="阅读时长">
              <span class="post-meta-item-icon">
                <i class="fa fa-clock-o"></i>
              </span>
                <span class="post-meta-item-text">阅读时长 &asymp;</span>
              <span>2 分钟</span>
            </span>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <p><font color="blue">内容摘要</font>：</p>
<blockquote>
<p>本文主要介绍Hexo的安装及相关插件</p>
</blockquote>
 <span id="more"></span> 
<div style="page-break-after:always"></div>
---------------

<pre class="line-numbers language-shell" data-language="shell"><code class="language-shell">cd &#x2F;opt
wget  https:&#x2F;&#x2F;nodejs.org&#x2F;dist&#x2F;v12.22.9&#x2F;node-v12.22.9-linux-x64.tar.xz
tar -xvf node* -C &#x2F;usr&#x2F;local
mv &#x2F;usr&#x2F;local&#x2F;node*  &#x2F;usr&#x2F;local&#x2F;node
install -s  &#x2F;usr&#x2F;local&#x2F;node&#x2F;bin&#x2F;node &#x2F;usr&#x2F;local&#x2F;bin
ln -s  &#x2F;usr&#x2F;local&#x2F;node&#x2F;lib&#x2F;node_modules&#x2F;npm&#x2F;bin&#x2F;npm-cli.js &#x2F;usr&#x2F;local&#x2F;bin&#x2F;npm
npm config set registry https:&#x2F;&#x2F;registry.npm.taobao.org
npm config get registry
npm -v
<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></span></code></pre>



<h1 id="系统安装"><a href="#系统安装" class="headerlink" title="系统安装"></a>系统安装</h1><h2 id="WLS"><a href="#WLS" class="headerlink" title="WLS"></a>WLS</h2><h3 id="WLS-SSH"><a href="#WLS-SSH" class="headerlink" title="WLS-SSH"></a>WLS-SSH</h3><table>
<thead>
<tr>
<th></th>
<th></th>
</tr>
</thead>
<tbody><tr>
<td>1-卸载openssh-server</td>
<td>sudo apt-get remove openssh-server</td>
</tr>
<tr>
<td>2-安装openssh-server</td>
<td>sudo apt-get install openssh-server</td>
</tr>
<tr>
<td>3-修改/etc/ssh/sshd_config</td>
<td>nano  /etc/ssh/sshd_config</td>
</tr>
<tr>
<td><img src="https://ask.qcloudimg.com/http-save/yehe-2626829/csdgfpwl2g.png" alt="preload"></td>
<td><img src="https://ask.qcloudimg.com/http-save/yehe-2626829/hchg6t5w3c.png?imageView2/2/w/1620" alt="img"></td>
</tr>
<tr>
<td>4-允许root登录</td>
<td></td>
</tr>
<tr>
<td><img src="/install/hexo/image-20220824180047380.png" alt="image-20220824180047380"></td>
<td><img src="/install/hexo/image-20220824180117885.png" alt="image-20220824180117885"></td>
</tr>
<tr>
<td>5-重启ssh</td>
<td>sudo service ssh restart</td>
</tr>
</tbody></table>
<h2 id="Windows"><a href="#Windows" class="headerlink" title="Windows"></a>Windows</h2><h2 id="CentOS"><a href="#CentOS" class="headerlink" title="CentOS"></a>CentOS</h2><h2 id="Ubuntu"><a href="#Ubuntu" class="headerlink" title="Ubuntu"></a>Ubuntu</h2><h1 id="安装基础"><a href="#安装基础" class="headerlink" title="安装基础"></a>安装基础</h1><h2 id="npm安装"><a href="#npm安装" class="headerlink" title="npm安装"></a>npm安装</h2><h3 id="下载地址"><a href="#下载地址" class="headerlink" title="下载地址"></a>下载地址</h3><p>版本浏览：<a href="https://nodejs.org/dist/v12.22.9/">https://nodejs.org/dist/v12.22.9/</a></p>
<p>下载链接：<a href="https://nodejs.org/dist/v12.22.9/node-v12.22.9-linux-arm64.tar.xz">https://nodejs.org/dist/v12.22.9/node-v12.22.9-linux-arm64.tar.xz</a></p>
<p>命令下载：wget <a href="https://nodejs.org/dist/v12.22.9/node-v12.22.9-linux-x64.tar.xz">https://nodejs.org/dist/v12.22.9/node-v12.22.9-linux-x64.tar.xz</a></p>
<h3 id="安装方式"><a href="#安装方式" class="headerlink" title="安装方式"></a>安装方式</h3><pre class="line-numbers language-shell" data-language="shell"><code class="language-shell">将包拷贝到 &#x2F;opt
tar	-xvf &#x2F;mnt&#x2F;d&#x2F;Blog&#x2F;source&#x2F;_code&#x2F;1_hexo&#x2F;node-v12.22.9-linux-arm64.tar.xz
rm -f &#x2F;opt&#x2F;node-v12.22.9-linux-arm64.tar.xz
mv &#x2F;usr&#x2F;local&#x2F;node-v12.22.9-linux-x64&#x2F;	&#x2F;usr&#x2F;local&#x2F;node
install -s  &#x2F;usr&#x2F;local&#x2F;node&#x2F;bin&#x2F;node &#x2F;usr&#x2F;local&#x2F;bin
ln -s  &#x2F;usr&#x2F;local&#x2F;node&#x2F;lib&#x2F;node_modules&#x2F;npm&#x2F;bin&#x2F;npm-cli.js &#x2F;usr&#x2F;local&#x2F;bin&#x2F;npm
npm config set registry https:&#x2F;&#x2F;registry.npm.taobao.org
npm config get registry
npm -v
sudo yum -y install git
npm install hexo-cli@4.3.0  -g
hexo init &#x2F;opt&#x2F;blog
cd &#x2F;opt&#x2F;blog
git clone https:&#x2F;&#x2F;github.com&#x2F;next-theme&#x2F;hexo-theme-next themes&#x2F;next
npm install hexo-theme-next<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></span></code></pre>

<h2 id="安装Git"><a href="#安装Git" class="headerlink" title="安装Git"></a>安装Git</h2><h3 id="centos"><a href="#centos" class="headerlink" title="centos"></a>centos</h3><pre class="line-numbers language-shell" data-language="shell"><code class="language-shell">sudo yum -y install git<span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre>

<h3 id="ubuntu"><a href="#ubuntu" class="headerlink" title="ubuntu"></a>ubuntu</h3><pre class="line-numbers language-shell" data-language="shell"><code class="language-shell">sudo apt -y install git<span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre>

<h3 id="windows"><a href="#windows" class="headerlink" title="windows"></a>windows</h3><h1 id="Hexo安装"><a href="#Hexo安装" class="headerlink" title="Hexo安装"></a>Hexo安装</h1><h2 id="hexo框架安装"><a href="#hexo框架安装" class="headerlink" title="hexo框架安装"></a>hexo框架安装</h2><pre class="line-numbers language-none"><code class="language-none">npm install hexo-cli@4.3.0  -g
hexo -v<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span></span></code></pre>

<h2 id="hexo仓库部署"><a href="#hexo仓库部署" class="headerlink" title="hexo仓库部署"></a>hexo仓库部署</h2><pre class="line-numbers language-shell" data-language="shell"><code class="language-shell">mkdir &#x2F;opt&#x2F;blog
cd &#x2F;opt&#x2F;blog
hexo init &#x2F;opt&#x2F;blog<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span><span></span></span></code></pre>



<h1 id="插件安装"><a href="#插件安装" class="headerlink" title="插件安装"></a>插件安装</h1><h1 id="相关设置"><a href="#相关设置" class="headerlink" title="相关设置"></a>相关设置</h1><h1 id="相关验证"><a href="#相关验证" class="headerlink" title="相关验证"></a>相关验证</h1><h2 id="图片验证"><a href="#图片验证" class="headerlink" title="图片验证"></a>图片验证</h2><p><img src="/install/hexo/%E5%9B%BE%E7%89%87.png" alt="1655196621944"></p>
<h2 id="插入音乐"><a href="#插入音乐" class="headerlink" title="插入音乐"></a>插入音乐</h2><pre class="line-numbers language-none"><code class="language-none">meting &quot;523845661&quot; &quot;netease&quot; &quot;playlist&quot; &quot;theme:#FF4081&quot; &quot;mode:circulation&quot; &quot;mutex:true&quot; &quot;listmaxheight:340px&quot; &quot;preload:auto&quot; %&#125;<span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre>

<h2 id="插入视频"><a href="#插入视频" class="headerlink" title="插入视频"></a>插入视频</h2><pre class="line-numbers language-none"><code class="language-none">&#123;% dplayer &quot;url&#x3D;http:&#x2F;&#x2F;home.ustc.edu.cn&#x2F;~mmmwhy&#x2F;GEM.mp4&quot; &quot;pic&#x3D;http:&#x2F;&#x2F;home.ustc.edu.cn&#x2F;~mmmwhy&#x2F;GEM.jpg&quot; &quot;loop&#x3D;yes&quot; &quot;theme&#x3D;#FADFA3&quot; &quot;autoplay&#x3D;false&quot; &quot;token&#x3D;tokendemo&quot; %&#125;<span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre>

<h2 id="mermaid"><a href="#mermaid" class="headerlink" title="mermaid"></a>mermaid</h2><pre class="mermaid">graph LR
A --> B</pre>





<hr>
<div style="page-break-after:always"></div>  
<font size="6">更新摘要</font>

<table>
<thead>
<tr>
<th align="center">版本</th>
<th align="center">修订日期</th>
<th>更新摘要</th>
</tr>
</thead>
<tbody><tr>
<td align="center">V1.0</td>
<td align="center"></td>
<td>博文发布</td>
</tr>
<tr>
<td align="center"></td>
<td align="center"></td>
<td></td>
</tr>
<tr>
<td align="center"></td>
<td align="center"></td>
<td></td>
</tr>
</tbody></table>

    </div>

    
    
    
        

  <div class="followme">
    <p>欢迎关注我的其它发布渠道</p>

    <div class="social-list">

        <div class="social-item">
          <a target="_blank" class="social-link" href="/images/wechat_channel.jpg">
            <span class="icon">
              <i class="fa fa-wechat"></i>
            </span>

            <span class="label">点击扫码加微信</span>
          </a>
        </div>
    </div>
  </div>


      <footer class="post-footer">

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/study/access/" rel="prev" title="博文模板">
      <i class="fa fa-chevron-left"></i> 博文模板
    </a></div>
      <div class="post-nav-item">
    <a href="/help/template/" rel="next" title="博文模板">
      博文模板 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#%E7%B3%BB%E7%BB%9F%E5%AE%89%E8%A3%85"><span class="nav-number">1.</span> <span class="nav-text">系统安装</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#WLS"><span class="nav-number">1.1.</span> <span class="nav-text">WLS</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#WLS-SSH"><span class="nav-number">1.1.1.</span> <span class="nav-text">WLS-SSH</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Windows"><span class="nav-number">1.2.</span> <span class="nav-text">Windows</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#CentOS"><span class="nav-number">1.3.</span> <span class="nav-text">CentOS</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Ubuntu"><span class="nav-number">1.4.</span> <span class="nav-text">Ubuntu</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E5%AE%89%E8%A3%85%E5%9F%BA%E7%A1%80"><span class="nav-number">2.</span> <span class="nav-text">安装基础</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#npm%E5%AE%89%E8%A3%85"><span class="nav-number">2.1.</span> <span class="nav-text">npm安装</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E4%B8%8B%E8%BD%BD%E5%9C%B0%E5%9D%80"><span class="nav-number">2.1.1.</span> <span class="nav-text">下载地址</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%AE%89%E8%A3%85%E6%96%B9%E5%BC%8F"><span class="nav-number">2.1.2.</span> <span class="nav-text">安装方式</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%AE%89%E8%A3%85Git"><span class="nav-number">2.2.</span> <span class="nav-text">安装Git</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#centos"><span class="nav-number">2.2.1.</span> <span class="nav-text">centos</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#ubuntu"><span class="nav-number">2.2.2.</span> <span class="nav-text">ubuntu</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#windows"><span class="nav-number">2.2.3.</span> <span class="nav-text">windows</span></a></li></ol></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#Hexo%E5%AE%89%E8%A3%85"><span class="nav-number">3.</span> <span class="nav-text">Hexo安装</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#hexo%E6%A1%86%E6%9E%B6%E5%AE%89%E8%A3%85"><span class="nav-number">3.1.</span> <span class="nav-text">hexo框架安装</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#hexo%E4%BB%93%E5%BA%93%E9%83%A8%E7%BD%B2"><span class="nav-number">3.2.</span> <span class="nav-text">hexo仓库部署</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E6%8F%92%E4%BB%B6%E5%AE%89%E8%A3%85"><span class="nav-number">4.</span> <span class="nav-text">插件安装</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E7%9B%B8%E5%85%B3%E8%AE%BE%E7%BD%AE"><span class="nav-number">5.</span> <span class="nav-text">相关设置</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E7%9B%B8%E5%85%B3%E9%AA%8C%E8%AF%81"><span class="nav-number">6.</span> <span class="nav-text">相关验证</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%9B%BE%E7%89%87%E9%AA%8C%E8%AF%81"><span class="nav-number">6.1.</span> <span class="nav-text">图片验证</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E6%8F%92%E5%85%A5%E9%9F%B3%E4%B9%90"><span class="nav-number">6.2.</span> <span class="nav-text">插入音乐</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E6%8F%92%E5%85%A5%E8%A7%86%E9%A2%91"><span class="nav-number">6.3.</span> <span class="nav-text">插入视频</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#mermaid"><span class="nav-number">6.4.</span> <span class="nav-text">mermaid</span></a></li></ol></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">吴敌</p>
  <div class="site-description" itemprop="description">吴敌</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">28</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
          
        <span class="site-state-item-count">10</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author motion-element">
      <span class="links-of-author-item">
        <a href="mailto:wudoer@;ive.com" title="E-Mail → mailto:wudoer@;ive.com" rel="noopener" target="_blank"><i class="fa fa-fw fa-envelope"></i></a>
      </span>
  </div>


  <div class="links-of-blogroll motion-element">
    <div class="links-of-blogroll-title">
      <i class="fa fa-fw fa-link"></i>
      置顶文章
    </div>
    <ul class="links-of-blogroll-list">
        <li class="links-of-blogroll-item">
          <a href="http://www.baidu.com/" title="http:&#x2F;&#x2F;www.baidu.com" rel="noopener" target="_blank">百度搜索</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://wudoer.gitee.io/" title="https:&#x2F;&#x2F;wudoer.gitee.io&#x2F;" rel="noopener" target="_blank">CIDC操作手册</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://wudoer.gitee.io/" title="https:&#x2F;&#x2F;wudoer.gitee.io&#x2F;" rel="noopener" target="_blank">CIDC应用手册</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://wudoer.gitee.io/" title="https:&#x2F;&#x2F;wudoer.gitee.io&#x2F;" rel="noopener" target="_blank">CIDC运维手册</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://wudoer.gitee.io/" title="https:&#x2F;&#x2F;wudoer.gitee.io&#x2F;" rel="noopener" target="_blank">CIDC调试手册</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://wudoer.gitee.io/" title="https:&#x2F;&#x2F;wudoer.gitee.io&#x2F;" rel="noopener" target="_blank">CIDC实施手册</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="https://wudoer.gitee.io/" title="https:&#x2F;&#x2F;wudoer.gitee.io&#x2F;" rel="noopener" target="_blank">CIDC培训手册</a>
        </li>
    </ul>
  </div>

      </div>
        <div class="back-to-top motion-element">
          <i class="fa fa-arrow-up"></i>
          <span>0%</span>
        </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 1992 – 
  <span itemprop="copyrightYear">2022</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">吴敌</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-area-chart"></i>
    </span>
      <span class="post-meta-item-text">站点总字数：</span>
    <span title="站点总字数">68k</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
      <span class="post-meta-item-text">站点阅读时长 &asymp;</span>
    <span title="站点阅读时长">1:02</span>
</div>

        
<div class="busuanzi-count">
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
    <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;">
      <span class="post-meta-item-icon">
        <i class="fa fa-user"></i>
      </span>
      <span class="site-uv" title="总访客量">
        <span id="busuanzi_value_site_uv"></span>
      </span>
    </span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;">
      <span class="post-meta-item-icon">
        <i class="fa fa-eye"></i>
      </span>
      <span class="site-pv" title="总访问量">
        <span id="busuanzi_value_site_pv"></span>
      </span>
    </span>
</div>








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js"></script>
  <script src="//cdn.jsdelivr.net/gh/fancyapps/fancybox@3/dist/jquery.fancybox.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/pisces.js"></script>


<script src="/js/next-boot.js"></script>




  




  
<script src="/js/local-search.js"></script>











<script>
if (document.querySelectorAll('pre.mermaid').length) {
  NexT.utils.getScript('//cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js', () => {
    mermaid.initialize({
      theme    : 'forest',
      logLevel : 3,
      flowchart: { curve     : 'linear' },
      gantt    : { axisFormat: '%m/%d/%Y' },
      sequence : { actorMargin: 50 }
    });
  }, window.mermaid);
}
</script>


  

  
  <script src="//cdn.jsdelivr.net/npm/quicklink@1/dist/quicklink.umd.js"></script>
  <script>
      window.addEventListener('load', () => {
      quicklink({
        timeout : 3000,
        priority: true,
        ignores : [uri => uri.includes('#'),uri => uri === 'http://example.com/install/hexo/',]
      });
      });
  </script>

</body>
</html>
